package com.example.perplonews.a_a_mvp.contract

import IModel
import IVIew
import com.example.perplonews.a_b_entity.BaseEntity
import io.reactivex.Observable

interface News_Contract {
    interface NewsModel:IModel{
        fun requestAll(list:ArrayList<HashMap<String,Any>>):Observable<BaseEntity>

    }
    interface NewsView:IVIew{
        fun refreshAll(entity: BaseEntity)
    }
}